<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>vue组件</title>
    <script src="using/vue.js"></script>
    <script src="fastdialog/fastdialog.js"></script>
    <link rel="stylesheet" href="fastdialog/fastdialog.css"></link>
</head>

<body style="margin:0">
    <div id=“app”>
       iframe中打开的顶级页面
       <button @click="close()">关闭</button>
    </div>

</body>
<script>
      /*定义vue实例app1*/
      var app1 = new Vue({
        el: '#“app”',
        methods:{
            close:function(){
                CloseDialog("page2回传111111","page3");
            },
        }
      
    });
    window.onload = function load(){
        var params = GetParams();
        if(params && params!="undefined" ){
            alert("打开页面接收的参数："+params);
        }  
    }
</script>
</html>